package com.example.inprinciple.bridge;

/**
 * 创建日期：2022/6/4 0004 11:39
 *
 * @author tony.sun
 * 类说明：
 */
public abstract class Phone {
    private Brand brand;

    public Phone(Brand brand) {
        this.brand = brand;
    }
    protected void open(){
        this.brand.open();
    }
    protected void close(){
        this.brand.close();
    }
    protected void call(){
        this.brand.call();
    }
}
